package com.zretc.kscxmz.entity;

public class Clock {
    private  int accountId;
    private  String address;
    private  String workStatus;
    private  String workTime;
    private  ClockName clockName;

    public Clock() {
    }

    public Clock(int accountId, String address, String workStatus, String workTime, ClockName clockName) {
        this.accountId = accountId;
        this.address = address;
        this.workStatus = workStatus;
        this.workTime = workTime;
        this.clockName = clockName;
    }

    public int getaccountId() {
        return accountId;
    }

    public void setaccountId(int accountId) {
        this.accountId = accountId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public ClockName getClockName() {
        return clockName;
    }

    public void setClockName(ClockName clockName) {
        this.clockName = clockName;
    }

    @Override
    public String toString() {
        return "Clock{" +
                "accountId=" + accountId +
                ", address='" + address + '\'' +
                ", workStatus='" + workStatus + '\'' +
                ", workTime='" + workTime + '\'' +
                ", clockName=" + clockName +
                '}';
    }
}
